import React,{Component} from 'react'

import image1 from './img/01.jpg'

import image2 from './img/02.jpg'

import image3 from './img/03.jpg'

import image4 from './img/04.jpg'

import image5 from './img/05.jpg'


class PlayImage extends Component{

    render(){

        let images = [image1,image2,image3,image4,image5]

        const src = 'img/'+this.props.num+'.jpg';

        return(

            <div>

                <img className='graph' src={images[this.props.num]}/>

            </div>

        )

    }

}

export default PlayImage;